﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class UsbPermissionBroadcastReceiver
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class UsbPermissionBroadcastReceiver
   ">
    <meta name="generator" content="docfx 2.56.6.0">
    
    <link rel="shortcut icon" href="../favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="Usb.Net.Android.UsbPermissionBroadcastReceiver">
  
  
  <h1 id="Usb_Net_Android_UsbPermissionBroadcastReceiver" data-uid="Usb.Net.Android.UsbPermissionBroadcastReceiver" class="text-break">Class UsbPermissionBroadcastReceiver
  </h1>
  <div class="markdown level0 summary"></div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><span class="xref">Java.Lang.Object</span></div>
    <div class="level2"><span class="xref">Android.Content.BroadcastReceiver</span></div>
    <div class="level3"><span class="xref">UsbPermissionBroadcastReceiver</span></div>
  </div>
  <div classs="implements">
    <h5>Implements</h5>
    <div><span class="xref">Android.Runtime.IJavaObject</span></div>
    <div><span class="xref">Java.Interop.IJavaPeerable</span></div>
    <div><span class="xref">System.IDisposable</span></div>
    <div><a class="xref" href="Usb.Net.Android.IUsbPermissionBroadcastReceiver.html">IUsbPermissionBroadcastReceiver</a></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.InvokeAbortBroadcast()</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.ClearAbortBroadcast()</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.GetResultExtras(System.Boolean)</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.GoAsync()</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.PeekService(Android.Content.Context, Android.Content.Intent)</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.SetOrderedHint(System.Boolean)</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.SetResult(Android.App.Result, System.String, Android.OS.Bundle)</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.SetResultExtras(Android.OS.Bundle)</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.JniPeerMembers</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.ThresholdClass</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.ThresholdType</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.AbortBroadcast</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.DebugUnregister</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.IsInitialStickyBroadcast</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.IsOrderedBroadcast</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.ResultCode</span>
    </div>
    <div>
      <span class="xref">Android.Content.BroadcastReceiver.ResultData</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Java.Interop.IJavaPeerable.DisposeUnlessReferenced()</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Java.Interop.IJavaPeerable.Disposed()</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Java.Interop.IJavaPeerable.Finalized()</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Java.Interop.IJavaPeerable.SetJniIdentityHashCode(System.Int32)</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Java.Interop.IJavaPeerable.SetJniManagedPeerState(Java.Interop.JniManagedPeerStates)</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Java.Interop.IJavaPeerable.SetPeerReference(Java.Interop.JniObjectReference)</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Dispose()</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Dispose(System.Boolean)</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.GetObject&lt;T&gt;(System.IntPtr, System.IntPtr, Android.Runtime.JniHandleOwnership)</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.GetObject&lt;T&gt;(System.IntPtr, Android.Runtime.JniHandleOwnership)</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.FromArray&lt;T&gt;(T[])</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Clone()</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Equals(Java.Lang.Object)</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.JavaFinalize()</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.GetHashCode()</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Notify()</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.NotifyAll()</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.ToString()</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Wait()</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Wait(System.Int64)</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Wait(System.Int64, System.Int32)</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Java.Interop.IJavaPeerable.JniManagedPeerState</span>
    </div>
    <div>
      <span class="xref">Java.Lang.Object.Class</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.Equals(System.Object, System.Object)</span>
    </div>
    <div>
      <span class="xref">System.Object.GetType()</span>
    </div>
    <div>
      <span class="xref">System.Object.MemberwiseClone()</span>
    </div>
    <div>
      <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="Usb.Net.Android.html">Usb.Net.Android</a></h6>
  <h6><strong>Assembly</strong>: Usb.Net.Android.dll</h6>
  <h5 id="Usb_Net_Android_UsbPermissionBroadcastReceiver_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class UsbPermissionBroadcastReceiver : BroadcastReceiver, IJavaObject, IJavaObjectEx, IJavaPeerable, IDisposable, IUsbPermissionBroadcastReceiver</code></pre>
  </div>
  <h3 id="constructors">Constructors
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/MelbourneDeveloper/Device.Net/new/develop/apiSpec/new?filename=Usb_Net_Android_UsbPermissionBroadcastReceiver__ctor_Android_Hardware_Usb_UsbManager_Android_Hardware_Usb_UsbDevice_Android_Content_Context_Usb_Net_Android_IAndroidFactory_Microsoft_Extensions_Logging_ILogger_.md&amp;value=---%0Auid%3A%20Usb.Net.Android.UsbPermissionBroadcastReceiver.%23ctor(Android.Hardware.Usb.UsbManager%2CAndroid.Hardware.Usb.UsbDevice%2CAndroid.Content.Context%2CUsb.Net.Android.IAndroidFactory%2CMicrosoft.Extensions.Logging.ILogger)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/MelbourneDeveloper/Device.Net/blob/develop/src/Usb.Net.Android/UsbPermissionBroadcastReceiver.cs/#L37">View Source</a>
  </span>
  <a id="Usb_Net_Android_UsbPermissionBroadcastReceiver__ctor_" data-uid="Usb.Net.Android.UsbPermissionBroadcastReceiver.#ctor*"></a>
  <h4 id="Usb_Net_Android_UsbPermissionBroadcastReceiver__ctor_Android_Hardware_Usb_UsbManager_Android_Hardware_Usb_UsbDevice_Android_Content_Context_Usb_Net_Android_IAndroidFactory_Microsoft_Extensions_Logging_ILogger_" data-uid="Usb.Net.Android.UsbPermissionBroadcastReceiver.#ctor(Android.Hardware.Usb.UsbManager,Android.Hardware.Usb.UsbDevice,Android.Content.Context,Usb.Net.Android.IAndroidFactory,Microsoft.Extensions.Logging.ILogger)">UsbPermissionBroadcastReceiver(UsbManager, UsbDevice, Context, IAndroidFactory, ILogger)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public UsbPermissionBroadcastReceiver(UsbManager manager, UsbDevice device, Context context, IAndroidFactory androidFactory, ILogger logger = null)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">Android.Hardware.Usb.UsbManager</span></td>
        <td><span class="parametername">manager</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">Android.Hardware.Usb.UsbDevice</span></td>
        <td><span class="parametername">device</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">Android.Content.Context</span></td>
        <td><span class="parametername">context</span></td>
        <td></td>
      </tr>
      <tr>
        <td><a class="xref" href="Usb.Net.Android.IAndroidFactory.html">IAndroidFactory</a></td>
        <td><span class="parametername">androidFactory</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">Microsoft.Extensions.Logging.ILogger</span></td>
        <td><span class="parametername">logger</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/MelbourneDeveloper/Device.Net/new/develop/apiSpec/new?filename=Usb_Net_Android_UsbPermissionBroadcastReceiver_IsPermissionGranted.md&amp;value=---%0Auid%3A%20Usb.Net.Android.UsbPermissionBroadcastReceiver.IsPermissionGranted%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/MelbourneDeveloper/Device.Net/blob/develop/src/Usb.Net.Android/UsbPermissionBroadcastReceiver.cs/#L29">View Source</a>
  </span>
  <a id="Usb_Net_Android_UsbPermissionBroadcastReceiver_IsPermissionGranted_" data-uid="Usb.Net.Android.UsbPermissionBroadcastReceiver.IsPermissionGranted*"></a>
  <h4 id="Usb_Net_Android_UsbPermissionBroadcastReceiver_IsPermissionGranted" data-uid="Usb.Net.Android.UsbPermissionBroadcastReceiver.IsPermissionGranted">IsPermissionGranted</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool? IsPermissionGranted { get; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Nullable</span>&lt;<span class="xref">System.Boolean</span>&gt;</td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/MelbourneDeveloper/Device.Net/new/develop/apiSpec/new?filename=Usb_Net_Android_UsbPermissionBroadcastReceiver_OnReceive_Android_Content_Context_Android_Content_Intent_.md&amp;value=---%0Auid%3A%20Usb.Net.Android.UsbPermissionBroadcastReceiver.OnReceive(Android.Content.Context%2CAndroid.Content.Intent)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/MelbourneDeveloper/Device.Net/blob/develop/src/Usb.Net.Android/UsbPermissionBroadcastReceiver.cs/#L64">View Source</a>
  </span>
  <a id="Usb_Net_Android_UsbPermissionBroadcastReceiver_OnReceive_" data-uid="Usb.Net.Android.UsbPermissionBroadcastReceiver.OnReceive*"></a>
  <h4 id="Usb_Net_Android_UsbPermissionBroadcastReceiver_OnReceive_Android_Content_Context_Android_Content_Intent_" data-uid="Usb.Net.Android.UsbPermissionBroadcastReceiver.OnReceive(Android.Content.Context,Android.Content.Intent)">OnReceive(Context, Intent)</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public override void OnReceive(Context context, Intent intent)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">Android.Content.Context</span></td>
        <td><span class="parametername">context</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="xref">Android.Content.Intent</span></td>
        <td><span class="parametername">intent</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h5 class="overrides">Overrides</h5>
  <div><span class="xref">Android.Content.BroadcastReceiver.OnReceive(Android.Content.Context, Android.Content.Intent)</span></div>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/MelbourneDeveloper/Device.Net/new/develop/apiSpec/new?filename=Usb_Net_Android_UsbPermissionBroadcastReceiver_Register.md&amp;value=---%0Auid%3A%20Usb.Net.Android.UsbPermissionBroadcastReceiver.Register%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/MelbourneDeveloper/Device.Net/blob/develop/src/Usb.Net.Android/UsbPermissionBroadcastReceiver.cs/#L53">View Source</a>
  </span>
  <a id="Usb_Net_Android_UsbPermissionBroadcastReceiver_Register_" data-uid="Usb.Net.Android.UsbPermissionBroadcastReceiver.Register*"></a>
  <h4 id="Usb_Net_Android_UsbPermissionBroadcastReceiver_Register" data-uid="Usb.Net.Android.UsbPermissionBroadcastReceiver.Register">Register()</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Register()</code></pre>
  </div>
  <h3 id="events">Events
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/MelbourneDeveloper/Device.Net/new/develop/apiSpec/new?filename=Usb_Net_Android_UsbPermissionBroadcastReceiver_Received.md&amp;value=---%0Auid%3A%20Usb.Net.Android.UsbPermissionBroadcastReceiver.Received%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/MelbourneDeveloper/Device.Net/blob/develop/src/Usb.Net.Android/UsbPermissionBroadcastReceiver.cs/#L33">View Source</a>
  </span>
  <h4 id="Usb_Net_Android_UsbPermissionBroadcastReceiver_Received" data-uid="Usb.Net.Android.UsbPermissionBroadcastReceiver.Received">Received</h4>
  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public event EventHandler Received</code></pre>
  </div>
  <h5 class="eventType">Event Type</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.EventHandler</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="implements">Implements</h3>
  <div>
      <span class="xref">Android.Runtime.IJavaObject</span>
  </div>
  <div>
      <span class="xref">Java.Interop.IJavaPeerable</span>
  </div>
  <div>
      <span class="xref">System.IDisposable</span>
  </div>
  <div>
      <a class="xref" href="Usb.Net.Android.IUsbPermissionBroadcastReceiver.html">IUsbPermissionBroadcastReceiver</a>
  </div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/MelbourneDeveloper/Device.Net/new/develop/apiSpec/new?filename=Usb_Net_Android_UsbPermissionBroadcastReceiver.md&amp;value=---%0Auid%3A%20Usb.Net.Android.UsbPermissionBroadcastReceiver%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/MelbourneDeveloper/Device.Net/blob/develop/src/Usb.Net.Android/UsbPermissionBroadcastReceiver.cs/#L14" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
                <h5>In This Article</h5>
                <div></div>
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
